def test_usb_device_detection_and_db_update(hardware_interface, database_session):
    devices = hardware_interface.find_devices()
    for device in devices:
        database_session.add(device)
    assert database_session.query(Device).count() >= 1